package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:13
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductIssueChangeLogDAO extends IDataAccessInterface<ProductIssueChangeLog, ProductIssueChangeLogDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_ISSUE_CHANGE_LOG";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_ISSUE_CHANGE_LOG.ID";

    /**
     * Mapped Field PRODUCR_ISSUE_ID
    */
    static final String ProducrIssueId = "PRODUCT_ISSUE_CHANGE_LOG.PRODUCR_ISSUE_ID";

    /**
     * Mapped Field BEFORE_CHANGE_STATUS
    */
    static final String BeforeChangeStatus = "PRODUCT_ISSUE_CHANGE_LOG.BEFORE_CHANGE_STATUS";

    /**
     * Mapped Field AFTER_CHANGE_STATUS
    */
    static final String AfterChangeStatus = "PRODUCT_ISSUE_CHANGE_LOG.AFTER_CHANGE_STATUS";

    /**
     * Mapped Field OPERATOR_ID
    */
    static final String OperatorId = "PRODUCT_ISSUE_CHANGE_LOG.OPERATOR_ID";

    /**
     * Mapped Field OPERATE_TIME
    */
    static final String OperateTime = "PRODUCT_ISSUE_CHANGE_LOG.OPERATE_TIME";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_ISSUE_CHANGE_LOG.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_ISSUE_CHANGE_LOG.REMARKS";

    /**
     * Mapped Attribute operatorName
    */
    static final String OperatorName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_CZTY5N_SysUser.");

    /**
     * Mapped Attribute operatorPhoto
    */
    static final String OperatorPhoto = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserPhoto,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_CZTY5N_SysUser.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductIssueChangeLog findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute producrIssueId
         */
        static final String ProducrIssueId = "producrIssueId";

        /**
         * Attribute beforeChangeStatus
         */
        static final String BeforeChangeStatus = "beforeChangeStatus";

        /**
         * Attribute afterChangeStatus
         */
        static final String AfterChangeStatus = "afterChangeStatus";

        /**
         * Attribute operatorId
         */
        static final String OperatorId = "operatorId";

        /**
         * Attribute operateTime
         */
        static final String OperateTime = "operateTime";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute operatorName
         */
        static final String OperatorName = "operatorName";

        /**
         * Attribute operatorPhoto
         */
        static final String OperatorPhoto = "operatorPhoto";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
